package com.example.myapplication2;

import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import android.view.Window;

import androidx.appcompat.app.AppCompatActivity;

public class MainActivity2 extends AppCompatActivity {
    private Intent intent1;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        supportRequestWindowFeature(Window.FEATURE_NO_TITLE);
        setContentView(R.layout.talkview);
        Intent intent=getIntent();
    }
    @Override
    protected void onStart() {
        super.onStart();
        Log.d("life","activity2 is onStart...");
    }

    @Override
    protected void onRestart() {
        super.onRestart();
        Log.d("life","activity2 is onRestart...");
    }
    @Override
    protected void onPostResume() {
        super.onPostResume();
        Log.d("life","activity2 is onPostResume...");
    }

    @Override
    protected void onPause() {
        super.onPause();
        Log.d("life","activity2 is onPuse...");
    }

    @Override
    protected void onStop() {
        super.onStop();
        Log.d("life","activity2 is onStop...");
    }

    @Override
    protected void onDestroy() {
        super.onDestroy();
        Log.d("life","activity2 is onDestroy...");
    }
    @Override
    public void finish(){
        super.finish();
        Log.d("life", "activity is finish... ");
    }

    @Override
    public void finishActivity(int requestCode) {
        super.finishActivity(requestCode);
        Log.d("life", "finishActivity: ");
    }


    }
